UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

JavaScript must be enabled for approved domains


Overview

Finding ID Version Rule ID IA Controls Severity
V-0042 DTBC-0042 SV-0042r1_rule Medium
Description
Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript. If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.
STIG Date
Google Chrome STIG Draft 2012-09-25

Details

Check Text ( C-0042r1_chk )
Universal method(Requires Chrome Browser v15 or later):
1. In the omnibox(address bar) type chrome://policy
2. If the policy "JavaScriptAllowedForUrls" is shown and is set to "[*.]gov", "[*.]mil", "[*.]google.com", and "[*.]microsoft.com", this is not a finding.

Windows:
Start regedit
Navigate to HKLM\Software\Policies\Google\Chrome\JavaScriptAllowedForUrls
If this key does not exist or is not set to "[*.]gov", "[*.]mil", "[*.]google.com", and "[*.]microsoft.com" this is a finding.
Fix Text (F-0042r1_fix)

Valid for Chrome Browser version 11 or later.

Windows Registry:
Registry Path: HKLM\Software\Policies\Google\Chrome\
Registry Key: JavaScriptAllowedForUrls
Key Type: List of strings
Set the value of the registry key to "[*.]gov", "[*.]mil", "[*.]google.com", and "[*.]microsoft.com"

Windows group policy:
Policy Path: Computer Configuration\Administrative Templates\Google\Google Chrome\Content Settings\
Policy Name: "Allow JavaScript on these sites"
Policy State: Enabled
Policy Value: "[*.]gov", "[*.]mil", "[*.]google.com", and "[*.]microsoft.com"